package 接口;

public class jisuanji {
    CPU cpu;
    EMS ems;
    yingpan pan;
    public jisuanji(CPU cpu,EMS ems,yingpan pan){
        this.cpu=cpu;
        this.ems=ems;
        this.pan=pan;

    }
    public void zuzhuang(){
        System.out.println("我的电脑是"+cpu.cpujiekou()+"的cpu，"+ems.emsjiekou()+"的内存,"+pan.yingpanjiekou()+"硬盘");
    }
}
